package com.winit.generator.model;

import java.util.HashSet;
import java.util.Map;
import java.util.Set;

public class EntityInfo {
    /**
     * 实体名
     */
    private String              createName;
    /**
     * 实体名
     */
    private String              resultName;
    /**
     * 实体名
     */
    private String              filterName;
    /**
     * 实体所在包路径
     */
    private String              filterPackage;

    /**
     * 实体名
     */
    private String              entityName;

    /**
     * 实体描述
     */
    private String              entityDesc;

    /**
     * 实体所在包路径
     */
    private String              entityPackage;

    /*
     * 实体类名
     */
    private String              className;

    /**
     * 包路径 + 类名
     */
    private String              packageClassName;

    /**
     * 表名
     */
    private String              tableName;

    /**
     * 需要导入的包
     */
    private Set<String>         imports = new HashSet<String>();

    /**
     * 属性名以及对应的类型
     */
    private Map<String, String> propTypes;

    /**
     * 属性名以及注释的对应
     */
    private Map<String, String> propRemarks;

    /**
     * 属性名和jdbc类型的映射
     */
    private Map<String, String> propJdbcTypes;

    /**
     * 属性名和字段名的映射
     */
    private Map<String, String> propNameColumnNames;

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getResultName() {
        return resultName;
    }

    public void setResultName(String resultName) {
        this.resultName = resultName;
    }

    public String getFilterPackage() {
        return filterPackage;
    }

    public void setFilterPackage(String filterPackage) {
        this.filterPackage = filterPackage;
    }

    public String getFilterName() {
        return filterName;
    }

    public void setFilterName(String filterName) {
        this.filterName = filterName;
    }

    public Map<String, String> getPropJdbcTypes() {
        return propJdbcTypes;
    }

    public void setPropJdbcTypes(Map<String, String> propJdbcTypes) {
        this.propJdbcTypes = propJdbcTypes;
    }

    public Map<String, String> getPropRemarks() {
        return propRemarks;
    }

    public void setPropRemarks(Map<String, String> propRemarks) {
        this.propRemarks = propRemarks;
    }

    public Map<String, String> getPropTypes() {
        return propTypes;
    }

    public void setPropTypes(Map<String, String> propTypes) {
        this.propTypes = propTypes;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public String getEntityPackage() {
        return entityPackage;
    }

    public void setEntityPackage(String entityPackage) {
        this.entityPackage = entityPackage;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Set<String> getImports() {
        return imports;
    }

    public void setImports(Set<String> imports) {
        this.imports = imports;
    }

    public String getEntityDesc() {
        return entityDesc;
    }

    public void setEntityDesc(String entityDesc) {
        this.entityDesc = entityDesc;
    }

    public String getPackageClassName() {
        return packageClassName;
    }

    public void setPackageClassName(String packageStr) {
        this.packageClassName = packageStr;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Map<String, String> getPropNameColumnNames() {
        return propNameColumnNames;
    }

    public void setPropNameColumnNames(Map<String, String> propNameColumnNames) {
        this.propNameColumnNames = propNameColumnNames;
    }
}
